package com.ruyuan.eshop.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 儒猿课堂: http://www.ruyuan2020.com
 * @Author zhonghuashishan
 * @Remark 有问题直接联系客服VX: ruyuan-1111 ，源码-笔记-技术交流群
 * @Version 1.0
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "eshop.order")
public class OrderProperties {

    /**
     * 订单超时支付时间限制 单位毫秒，默认30分钟
     */
    private Integer expireTime = 30 * 60 * 1000;


    public static final Integer ORDER_EXPIRE_TIME = 30 * 60 * 1000;


}